home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d26 / mathpack.arc / B1.BAS (.txt) < prev    next >
Encoding:
GW-BASIC  |  1987-05-08  |  756 b   |  18 lines

  1. 10  CLS
  2. 20  KEY OFF
  3. 30  COLOR 7,0
  4. 40  WIDTH 80
  5. 50  DEF SEG = 0: POKE 1050,PEEK(1052)
  6. 60  LOCATE 1,18:PRINT "H E X I D E C I M A L/ O C T A L  T U T O R I A L"
  7. 70  LOCATE 5,2:PRINT " This section, will guide you through the HEX/OCTAL from DECIMAL conversions."
  8. 80  LOCATE 7,2:PRINT " Simply enter a D E C I M A L number within the appropriate range specified,"
  9. 90  LOCATE 8,2:PRINT " and press the <RETURN> key."
  10. 100  LOCATE 9,2:PRINT " Two resultant values will return showing the conversions..."
  11. 110  LOCATE 11,2:PRINT "EXAMPLE:"
  12. 120  LOCATE 13,20:PRINT "To find the HEXIDECIMAL AND OCTAL VALUES for DECIMAL value '67.8',"
  13. 130  LOCATE 14,20:PRINT "Enter 67.8 and press the <RETURN> key, the conversions will appear below that..."
  14. 140  LOCATE 20,2:PRINT "Press the S P A C E  B A R to return to disk tutorial..."
  15. 150  S$ =INKEY$:IF S$ =" " THEN CLS:CLEAR:CHAIN"a"
  16. 160  GOTO 150
  17. 170  END
  18.